home *** CD-ROM | disk | FTP | other *** search
/ Borland JBuilder 6 / jbuilder6.iso / Documents / JAVA Programming / examples / 17 / Scribble3$3.class (.txt) < prev   
Encoding:
Java Class File  |  2000-09-08  |  921 b   |  20 lines

  1. import java.awt.Graphics;
  2. import java.awt.event.ActionEvent;
  3. import java.awt.event.ActionListener;
  4.  
  5. final class Scribble3$3 implements ActionListener {
  6.    // $FF: synthetic field
  7.    private final Scribble3 this$0;
  8.  
  9.    public void actionPerformed(ActionEvent var1) {
  10.       Graphics var2 = this.this$0.getGraphics();
  11.       var2.setColor(this.this$0.getBackground());
  12.       var2.fillRect(0, 0, this.this$0.getSize().width, this.this$0.getSize().height);
  13.    }
  14.  
  15.    // $FF: synthetic method
  16.    Scribble3$3(Scribble3 var1) {
  17.       this.this$0 = var1;
  18.    }
  19. }
  20.